package com.demo.model;

import java.io.File;

public class Project {
    String project_name;
    String date;
    String time;
    String contact_name;
    String contact_tel;
    String contact_address;
    String ccAddresses;
    String attachmentPath;
    File attachmentFile;

    public Project() {

    }

    public Project(String project_name, String date, String time, String contact_name, String contact_tel, String contact_address, String ccAddresses) {
        this.project_name = project_name;
        this.date = date;
        this.time = time;
        this.contact_name = contact_name;
        this.contact_tel = contact_tel;
        this.contact_address = contact_address;
        this.ccAddresses = ccAddresses;
    }

    public File getAttachmentFile() {
        return attachmentFile;
    }

    public void setAttachmentFile(File attachmentFile) {
        this.attachmentFile = attachmentFile;
        this.attachmentPath = attachmentFile.getPath();
    }

    public String getAttachmentPath() {
        return attachmentPath;
    }

    public void setAttachmentPath(String attachmentPath) {
        this.attachmentPath = attachmentPath;
    }

    public String getCcAddresses() {
        return ccAddresses;
    }

    public void setCcAddresses(String ccAddresses) {
        this.ccAddresses = ccAddresses;
    }

    public String getProject_name() {
        return project_name;
    }

    public void setProject_name(String project_name) {
        this.project_name = project_name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContact_name() {
        return contact_name;
    }

    public void setContact_name(String contact_name) {
        this.contact_name = contact_name;
    }

    public String getContact_tel() {
        return contact_tel;
    }

    public void setContact_tel(String contact_tel) {
        this.contact_tel = contact_tel;
    }

    public String getContact_address() {
        return contact_address;
    }

    public void setContact_address(String contact_address) {
        this.contact_address = contact_address;
    }

    @Override
    public String toString() {
        return "Project{" +
                "project_name='" + project_name + '\'' +
                ", date='" + date + '\'' +
                ", time='" + time + '\'' +
                ", contact_name='" + contact_name + '\'' +
                ", contact_tel='" + contact_tel + '\'' +
                ", contact_address='" + contact_address + '\'' +
                ", ccAddresses='" + ccAddresses + '\'' +
                ", attachmentPath='" + attachmentPath + '\'' +
                '}';
    }
}
